import request from '@/utils/request'

export function getContentList(ownerAccount) {
    return request({
        url: '/data/dataList',
        method: 'get',
        baseURL: 'http://localhost:8011',
        params:{ ownerAccount }
    })
}

export function fetchNoteList(ownerAccount){
    return request({
        url: '/note/fetchNoteList',
        method: 'get',
        baseURL: 'http://localhost:8031',
        params: { ownerAccount }
    })
}

export function getBlogList(ownerAccount){
    return request({
        url: '/blog/blogList',
        method: 'get',
        baseURL: 'http://localhost:8041',
        params: {ownerAccount}
    })
}

export function feedbackList(){
    return request({
        url: '/feedback/list',
        method: 'get',
        baseURL: 'http://localhost:8061',
    })
}
